<template>
  <el-button v-bind="$attrs" v-on="$listeners" v-if="display">
      <slot></slot>
  </el-button>
</template>

<script>
export default {
    props: {
        name: {
            type: String,
            default: ""
        }
    },
    computed: {
        display() {
            /* if (!this.name) return true;
            let operations = this.$store.getters.getOperations;
            return operations.includes(this.name); */
            return true;
        }
    }
}
</script>

<style>

</style>